package cn.wolfcode.wolf2w.business.api.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wolfcode.wolf2w.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 问答对象 ta_questionse
 * 
 * @author SQM
 * @date 2024-11-18
 */
@Data
@Accessors(chain = true)
@TableName("ta_questionse")
public class Questionse implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 问答id */
    @TableId(type = IdType.AUTO)
    private Long id;


    /** 问答标题 */
    @Excel(name = "问答标题")
    private String title;


    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;


    /** 冗余字段 */
    @Excel(name = "冗余字段")
    private String field;


    /** 问答内容 */
    @Excel(name = "问答内容")
    private String contents;

    /** 问答状态 */
    @Excel(name = "问答状态")
    private Boolean isDraft;

    /** 问答城市id */
    @Excel(name = "问答城市id")
    private Integer destId;

    /** 回答人回答图片 */
    @TableField(exist = false)
    private String headImgUrl;
    /** 提问用户名称 */
    @TableField(exist = false)
    private String authorName;

    @TableField(exist = false)
    private Long replyId;

    @TableField(exist = false)
    private Integer level;

    @TableField(exist = false)
    private String detailDoubt;

    @TableField(exist = false)
    private String[] labelList;

    @TableField(exist = false)
    private String destinationName;



}
